<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: DoveXL
  Date: 2018/6/3
  Time: 20:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta name="_csrf" content="${_csrf.token}"/>
    <meta name="_csrf_header"  content="${_csrf.headerName}"/>
    <title>小龙人后台管理平台</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="${pageContext.request.contextPath}/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/plugins/bootstrap/css/font-awesome.css" rel="stylesheet" />
    <!-- Morris Chart Styles-->
    <link href="${pageContext.request.contextPath}/plugins/morris/morris-0.4.3.min.css" rel="stylesheet" />
    <!-- Custom Styles-->
    <link href="${pageContext.request.contextPath}/plugins/bootstrap/css/custom-styles.css" rel="stylesheet" />
    <!-- Google Fonts-->
    <script src="${pageContext.request.contextPath}/plugins/jquery/jquery-3.2.1.min.js"></script>
    <!-- Bootstrap Js -->
    <script src="${pageContext.request.contextPath}/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/plugins/jquery/jquery.metisMenu.js"></script>
    <!-- Morris Chart Js -->
    <script src="${pageContext.request.contextPath}/plugins/morris/raphael-2.1.0.min.js"></script>
    <script src="${pageContext.request.contextPath}/plugins/morris/morris.js"></script>

    <!-- Custom Js -->
    <script src="${pageContext.request.contextPath}/plugins/jquery/custom-scripts.js"></script>
    <script src="${pageContext.request.contextPath}/plugins/echarts/echarts.js"></script>
    <script src="${pageContext.request.contextPath}/scripts/report/BasicInfoStatistics.js"></script>
</head>
<body>
<nav class="navbar navbar-default top-navbar" role="navigation">
    <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="${pageContext.request.contextPath}/index"><i class="fa fa-gear"></i> <strong>小龙人管理平台</strong></a>
    </div>
    <ul class="nav navbar-top-links navbar-right">
        <label style="font-size: larger;color: white">${UserInfo.user_name}!</label>
        <label style="font-size: larger;color: white">欢迎</label>
        <label style="font-size: larger;color: white">${UserInfo.user_realname}</label>
        <label style="font-size: larger;color: white">管理员登录</label>
        <!-- /.dropdown -->
        <li class="dropdown">
            <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
            </a>
            <ul class="dropdown-menu dropdown-user">
                <li><a href="#"><i class="fa fa-user fa-fw"></i> User Profile</a>
                </li>
                <li><a href="#"><i class="fa fa-gear fa-fw"></i> Settings</a>
                </li>
                <li class="divider"></li>
                <li><a href="#"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
                </li>
            </ul>
            <!-- /.dropdown-user -->
        </li>
        <!-- /.dropdown -->
    </ul>
</nav>
<!--/. NAV TOP  -->
<nav class="navbar-default navbar-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="main-menu">
            <li>
                <a href="${pageContext.request.contextPath}/index"><i class="fa fa-sitemap" ></i>后台首页<span class="fa arrow"></span></a>
            </li>
            <li>
                <a href="#"><i class="fa fa-sitemap" ></i>小龙人管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="${pageContext.request.contextPath}/volunteer/PersonInfo">基本信息</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/volunteer/BankInfo">银行账户</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/volunteer/VolunteerSign">志愿签到</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/volunteer/VolunteerInfo">志愿记录</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/volunteer/HonorInfo">荣誉信息</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href=""><i class="fa fa-sitemap"></i>统计报告<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="${pageContext.request.contextPath}/report/PersonStatistics">基本统计</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/report/TeamStatistics">团队统计</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/report/TimeStatistics">时间统计</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-sitemap" ></i>团队管理<span class="fa arrow"></span></a>
                <ul class="nav nav-second-level">
                    <li>
                        <a href="${pageContext.request.contextPath}/team/TeamInfo">团队信息</a>
                    </li>
                </ul>
            </li>

            <li>
                <a href="#"><i class="fa fa-sitemap" ></i>系统管理<span class="fa arrow"></span></a>
               <sec:authorize access="hasRole('ROLE_SUPERADMIN')">
                <ul class="nav nav-second-level">
                    <li>
                        <a href="${pageContext.request.contextPath}/system/AdminInfo">用户管理</a>
                    </li>
                    <li>
                        <a href="${pageContext.request.contextPath}/system/DataBackup">数据备份</a>
                    </li>
                </ul>
               </sec:authorize>
            </li>
        </ul>
    </div>
</nav>
<div id="page-wrapper">
    <div id="page-inner">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <div id="main"  style="margin-left:5%;width: 100%;height:50%;"></div>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <div id="main1" style="margin-left:3%;width: 100%;height:50%;"></div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
